# -*- coding: utf-8 -*-
from django.conf.urls import patterns, include, url
from django.contrib import admin

from accounts.views import home, auth, i18n

admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'lr2.views.home', name='home'),
    # url(r'^lr2/', include('lr2.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^$', home, name='home'),
    url(r'^auth/(?P<cmd>.*)$', auth, name='auth'),
    url(r'^i18n/(?P<lang>.*)$', i18n, name='i18n'),
    url(r'^admin/', include(admin.site.urls)),
)
